body {
    color: #000;
    overflow-x: hidden;
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    background: #f4f4f4;
    font: normal 16px/1.5 PingFangSC-regular, Tahoma, Lucida Grande, Verdana, Microsoft Yahei, STXihei, hei;
    overflow-x: hidden;
}

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?2vre1d');
    src: url('../fonts/icomoon.eot?2vre1d#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?2vre1d') format('truetype'),
        url('../fonts/icomoon.woff?2vre1d') format('woff'),
        url('../fonts/icomoon.svg?2vre1d#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

a {
    color: #222;
    text-decoration: none;
}

* {
    box-sizing: border-box;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* 搜索 */
section {
    position: fixed;
    display: flex;
    top: 0;
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}

section .search-index {
    flex: 1;
    margin: 7px 10px 0;
    height: 26px;
    border: 1px solid #ccc;
    border-radius: 15px;
    line-height: 24px;
    font-size: 14px;
    color: #b1adad;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}

section .search-index::before {
    content: '\e986';
    font-family: 'icomoon';
    margin: 0 6px;
}

section .user {
    width: 44px;
    height: 44px;
    text-align: center;
    font-size: 12px;
}

section .user::before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 23px;
    height: 23px;
    background: url(../images/tabbar.png) no-repeat -9px -246px;
    background-size: 40px auto;
}

/* 轮播图 */
.focus li {
    list-style: none;
}
.focus {
    position: relative;
    margin-top: 44px;
    overflow: hidden;
}
.focus img {
    width: 100%;
    vertical-align: middle;
}
.focus ul {
    width: 500%;
    margin-left: -100%;
}
.focus ul li {
    float: left;
    width: 20%;
}
.focus ol {
    position: absolute;
    right: 5px;
    bottom: 5px;
    margin: 0;
}
.focus ol li {
    float: left;
    margin: 0 3px;
    width: 5px;
    height: 5px;
    background-color: red;
    border-radius: 2px;
}
.cun {
    transition: all .3s;
    width: 15px !important;
}
.goback {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ededed;
    background: url(../images/back.png) no-repeat;
    background-size: 38px 38px;
}

/* 小导航 */
.local-nav {
    display: flex;
    height: 44px;
    margin: 3px 4px;
    background-color: #fff;
    border-radius: 7px;
    text-align: center;
}

.local-nav li {
    flex: 1;
}

.local-nav li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 12px;
}

.local-nav li a .bg {
    margin: 0 auto;
    width: 28px;
    height: 28px;
    background: url(../images/nav.png) no-repeat -5px -538px;
    background-size: 38px auto;
}

.local-nav li:nth-child(2) a .bg {
    background-position: -5px -461px;
}

.local-nav li:nth-child(3) a .bg {
    background-position: -5px -156px;
}

.local-nav li:nth-child(4) a .bg {
    background-position: -5px -387px;
}

.local-nav li:nth-child(5) a .bg {
    background-position: -5px -422px;
}

/* 导航 */
nav {
    margin: 0 4px 3px;
    border-radius: 8px;
    overflow: hidden;
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
}

.nav-common {
    height: 88px;
}

nav .nav-common:nth-child(2) {
    margin: 3px 0;
}

nav .nav-common {
    display: flex;
    justify-content: center;
}

nav .nav-common .nav-item {
    flex: 1;
    height: 88px;
    text-align: center;
}

nav .nav-common .nav-item a {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

nav .nav-common .nav-item a span {
    display: block;
    margin-top: 15px;
}

nav .nav-common .nav-item:nth-child(2) {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

nav .nav-common .nav-item:nth-child(n+1) .nav-items {
    line-height: 44px;
}

nav .nav-common .nav-item:nth-child(n+1) .nav-items:first-child {
    height: 44px;
    border-bottom: 1px solid #fff;
}

.nav-item i {
    display: block;
    width: 35px;
    height: 35px;
    margin: 10px auto 0;
    background: url(../images/nav.png) no-repeat 0 -122px;
    background-size: 38px auto;
}

.piao i {
    background-position: -5px -77px;
}

.you i {
    background-position: -2px -195px;
}

nav .nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, rgba(243, 147, 2, 0.849), rgb(240, 180, 69));
    /* background-color: rgb(253, 139, 45); */
}

nav .nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, rgba(2, 66, 243, 0.849), rgb(49, 168, 247));
    /* background-color: rgb(66, 162, 240); */
}

nav .nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, rgba(58, 243, 2, 0.849), rgb(166, 241, 25));
    /* background-color: rgb(111, 243, 59); */
}

/* submit部分 */
.submit-nav {
    display: flex;
    margin: 0 4px;
    border-radius: 8px;
    overflow: hidden;
    flex-wrap: wrap;
    padding: 5px 0;
    box-shadow: 0 0 14px rgba(0, 0, 0, .2);
}

.submit-nav li {
    flex: 20%;
}

.submit-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.submit-nav li a span:nth-child(1) {
    width: 28px;
    height: 28px;
    background-color: pink;
    background: url(../images/subnav-bg.png) no-repeat 0 5px;
    background-size: 24px auto;
}

.submit-nav li:nth-child(2) a span:nth-child(1) {
    background-position: 5px -21px;
}

.submit-nav li:nth-child(3) a span:nth-child(1) {
    background-position: 5px -51px;
}

.submit-nav li:nth-child(4) a span:nth-child(1) {
    background-position: 3px -271px;
}

.submit-nav li:nth-child(5) a span:nth-child(1) {
    background-position: 1px -81px;
}

.submit-nav li:nth-child(6) a span:nth-child(1) {
    background-position: 5px -135px;
}

.submit-nav li:nth-child(7) a span:nth-child(1) {
    background-position: 2px -166px;
}

.submit-nav li:nth-child(8) a span:nth-child(1) {
    background-position: 4px -108px;
}

.submit-nav li:nth-child(9) a span:nth-child(1) {
    background-position: 3px -192px;
}

.submit-nav li:nth-child(10) a span:nth-child(1) {
    background-position: 4px -242px;
}

/* 热门部分 */
.hot {
    margin-top: 5px;
    border-top: 1px solid #ccc;
}

.hot_hd {
    position: relative;
    height: 40px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.hot_hd h2 {
    float: left;
    margin-top: 10px;
    margin-left: 4px;
    width: 60px;
    height: 20px;
    font-size: 0;
    background: url(../images/hot.png) no-repeat 2px 2px;
    background-size: 79px auto;
}

.hot_hd a {
    position: absolute;
    top: 10px;
    right: 5px;
    padding-left: 7px;
    display: block;
    width: 60px;
    height: 25px;
    border-radius: 10px;
    color: #fff;
    background: -webkit-linear-gradient(left,rgb(238, 65, 65),rgb(248, 124, 86));
}
.hot_hd a::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
.hot_bd {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.hot_bd .kuang {
    display: flex;
    border-bottom: 1px solid #ddd;
}
.hot_bd .kuang .img {
    flex: 1;
}
.hot_bd .kuang .img:first-child {
    border-right: 1px solid #ddd;
}
.hot_bd .kuang .img img {
    width: 100%;
    vertical-align: middle;
}